package br.inf.solutions.apresentacoes.ssp.model.enums;

public enum SalaryReserve {

	Integral("Integral"),
	Proporcional("Proporcional"),
	NadaConsta("Nada Consta");
	
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	private SalaryReserve(String name){
		this.name = name;
	}
	
	public static SalaryReserve getSalaryReserveById(Integer id) {  
        return SalaryReserve.values()[id];  
      } 
	
	@Override
	public String toString() {
		return this.name;
	}
	
}
